const pro1 = new Promise((resolve, reject) => {
  console.log("任务开始0");
  resolve(10);
  reject(2);
  resolve(3);
  console.log("任务结束0");
});

console.log(pro1);

const pro2 = new Promise((resolve, reject) => {
  console.log("任务开始1");
  resolve(11);
  reject(2);
  console.log("任务结束1");
});

console.log(pro2);
